{% extends "default.html" %}

{% load i18n %}
{% load jalali_view %}
{% load digg_paginator %}


{% block title %}{% trans "Ads List" %}{% endblock %}

{% block page_content %}
<h3>{% trans "Ads" %}</h3>

{% for ad in current_page.object_list %}
	<div class="span-6{% cycle '' '' ' last' %}">
	{% include "ad/ad_box.html" %}
	</div>
	{% cycle "" "" "<div class='span-18 last'>&nbsp;</div>" %}
{% endfor %}

{% if tagid %}
<div class="span-18 last">
<a href="/rss/ads/latest/tag/{{ tagid }}/">RSS</a>
</div>
{% endif %}
<div class="span-18 last">&nbsp;</div>

{% digg_paginator %}

{% endblock page_content %}
